package com.xinou.daily_report.VO.okForm;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @author lizhongyuan
 */
@Data
@ContentStyle(wrapped = true)
public class OkFormExcelVO {

    @ExcelProperty(value = "责任人")
    private String liabler;

    @ExcelProperty(value = "指令人")
    private String commander;

    @ExcelProperty(value = "结果定义")
    private String resultDefine;

    @ExcelProperty(value = "任务内容")
    private String message;

    @ExcelProperty(value = "英雄价(元)")
    private Integer price;

    @ExcelProperty(value = "状态")
    private String state;

    @ExcelProperty(value = "截止日期")
    private String completeDate;

    @ExcelProperty(value = "完成日期")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String finishTime;

    @ExcelProperty(value = "发布日期")
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private String gmtCreate;

}
